﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="learn.aspx.cs"   Inherits="Manage_learn" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>在线培训系统-课程学习</title>
    <style type="text/css">
html, body {
    margin:0;
	padding:0;
	background-color: #ffffff;
	height: 100%;
}
body {
  font-size: 12px;
  line-height: 1.8;
  font-family: "微软雅黑";
}

form,h1,h2,h3,ul,ol,div{margin: 0; padding:0;}
h3{color:#0889CB;clear:both; float:left;font-family: "微软雅黑";}
div.tips {
        width:1025px;
	    height: 796px;
	    margin:0 auto auto -512px;
	    top: 0;
	    left: 50%;
	    position: absolute;
}
.menutitle
{
	color:#ffffff; font-size:20px; font-weight:bold;  
}
.topclassName{ color:#0889CB; font-size:24px;  font-weight:bold; width:480px;}
.classcontent{background-image:url('../../images/learn_mid_bg.png'); background-repeat:repeat-y; height:auto; width:1025px; margin-top:-1px; padding-left:130px; padding-top:20px; padding-right:10px; padding-bottom:20px}
</style>

</head>
<body >
    <form id="form1" runat="server">
     <asp:ScriptManager ID="ScriptManager1" runat="server"  EnableScriptGlobalization="True" EnableScriptLocalization="True">
        </asp:ScriptManager>
   <!--  快速转换位置按钮  -->
     <asp:UpdatePanel ID="up1" runat="server" >
    <ContentTemplate>
    <div class="tips">
        <table  width="1025" height="99" border="0" cellpadding="0" cellspacing="0">
	    <tr>
		<td>
			<table width="1025" height="99" border="0" cellpadding="0" cellspacing="0">
	            <tr>
		            <td rowspan="2">
			            <img src="../../images/learn_bg_top_left.jpg" width="534" height="99" alt="" /></td>
		            <td colspan="2" align="center" style="width:460px; height:58px; background-image:url('../../images/learn_bg_top_mid.jpg'); background-repeat:no-repeat;">
			           </td>
		            <td rowspan="2">
			            <img src="../../images/learn_bg_top_right.jpg" width="31" height="99" alt="" /></td>
	            </tr>
	            <tr>
		            <td align="center"  style="width:225px; height:41px; background-image:url('../../images/learn_menu_sl.jpg'); background-repeat:no-repeat;">
                      <%-- <asp:LinkButton ID="lbtnStudy" runat="server" Text="课 程 学 习" 
                            CssClass="menutitle" onclick="lbtnStudy_Click"></asp:LinkButton>--%>
			          </td>
		            <td  align="center" style="width:235px; height:41px; background-image:url('../../images/learn_menu_cr.jpg'); background-repeat:no-repeat">
			         
                     <%-- <asp:LinkButton ID="lbtnexam" runat="server" Text="课 程 测 试" CssClass="menutitle" 
                            onclick="lbtnexam_Click"></asp:LinkButton>--%>
                      </td>
	            </tr>
            </table>
         </td>
	</tr>
    </table>
    <div style=" position:absolute; left:500px; top:30px; z-index:10000; width:510px; text-align:right"> <asp:Label ID="lblClassName" runat="server" CssClass="topclassName" ></asp:Label></div>
    <div><img src="../../images/learn_bg_m1.jpg" width="1025" height="31" alt="" /></div>
    <div class="classcontent">
  
      <div id="divclassInfo"  style="height:auto; width: 884px;" >
           <h3 >课程目标：</h3>
           <div style="clear:both; height:auto"><asp:Label ID="lblStudyGlobal" runat="server"></asp:Label>
          
           </div> <br /> 
           <h3>学员对象：</h3>
           <div style="clear:both"><asp:Label ID="lblStudentObject" runat="server"></asp:Label></div><br />
           <h3>课&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 时：</h3><div style="float:left; padding-top:2px"><asp:Label ID="lbltime" runat="server"></asp:Label>&nbsp;小时</div><br /><br />
           <h3>学习形式：</h3><div style="float:left; padding-top:2px"><asp:Label ID="lblStudyMode" runat="server" ></asp:Label></div><br /><br />
           <h3>课程内容：</h3>
           <div style="clear:both; margin-top:10px; width:99%; height:auto; background-color:#F1F9F9">
             <asp:Repeater ID="repResource" runat="server"   
                   onitemdatabound="repResource_ItemDataBound" 
                   onitemcommand="repResource_ItemCommand">
              <ItemTemplate>
              <table border="0" style="float:left;  width:49%; margin-right:5px; margin-top:10px;">
                 <tr>
                    <td rowspan="2"  valign="top" width="117px" align="center" ><asp:ImageButton ID="istduy" runat="server" ImageUrl="../../images/btn_study.png" width="102px" height="29px" CommandName="study" CommandArgument='<%#Eval("ClassDetailId") %>'  /></td>
                    <td valign="top">
                      <strong><%#Eval("Title")%></strong>
                    </td>
                </tr>
                <tr>
                    <td valign="top"><asp:Label ID="lblIntro" runat="server" Text='<%#Eval("Intro") %>'></asp:Label></td>
                </tr>
                  <asp:HiddenField ID="hdfUrl" runat="server" Value='<%#Eval("Url") %>' />  
                 <asp:HiddenField ID="hdfClassDetailId" runat="server" Value='<%#Eval("ClassDetailId") %>' /> 
                 </table>
              </ItemTemplate>
             
            </asp:Repeater>
           <table border="0" style="width:100%; margin-top:30px;">
             <tr>
               <td align="center">
                <asp:ImageButton ID="ibtnExam" runat="server" 
                       ImageUrl="../../images/btn_class_test.png" width="209px" height="31px" 
                       AlternateText="进行测试" onclick="ibtnExam_Click" />
                 
               </td>
               </tr>
            </table>
           </div>
           <div style="clear:both; float:right">
             <asp:Label ID="lblmusic" runat="server" Text=""></asp:Label>
  
              <asp:ImageButton ID="ibtnmusic" runat="server" 
                   ImageUrl="../../images/btn_backgroudmusic.png" Width="15px" Height="15px" 
                   AlternateText="背景音乐控制开关" onclick="ibtnmusic_Click" />
           </div>
      </div>
     </div>
     <div><img src="../../images/learn_bg_bottom.jpg" width="1025" height="64" alt="" /></div>
    
    </div>
    </ContentTemplate>
    <Triggers><asp:PostBackTrigger ControlID="ibtnmusic" /></Triggers>
    </asp:UpdatePanel>
    </form>
</body>
</html>
